﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Asptcp.Simple
{
    public class TestService:IDisposable
    {
        public TestService()
        {
            this.Say("你好！世界。");
        }

        public void Say(string str)
        {
            Console.WriteLine(str);
        }
        public void Dispose()
        {
            Console.WriteLine(nameof(TestService)+"已释放");
        }
    }
}
